FROM debian:10.10-slim
RUN sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list

COPY gotechback /usr/bin/

COPY static /usr/bin/static
COPY config.yaml /usr/bin

COPY run_in_k8s.sh /

RUN chmod +x /run_in_k8s.sh

ENTRYPOINT ./run_in_k8s.sh